Your question is can you use a gui in a servlet? No you can't, but how much are you doing that you need a gui? Do you want to use a Gui because it looks nice? Like we've said, you could do all you want to accomplish with a simple html form and send the data to the servlet through the form.
All you're doing is getting info from the user, we're assuming you'll do this through a form. Then all you have to do is send the data from the form to the servlet (this would be done in the form's Action tag, if my memory serves me right.)
To me it seems easier to work with an html form and send the data to the servlet, instead of working with an applet. Applets are kind of old and slow, my preference would be to simply use the form and a servlet to process your data. Just read up on forms and servlets ... i think you'll find it easier to work with.
--infoThirsty
Hope i didn't confuse you.